const VERSION = 'v1'

let User = (vm)=>{  
    return {  
        login: (params = {}) => vm.$u.get(`/${VERSION}/login`, params),
		register: (params = {}) => vm.$u.post(`/${VERSION}/register`, params)
    }  
}  

export default User